<script type="text/javascript" src="functions/js/usersVoice.js"></script>	
<a href="#"><img id="topArrow" src="img/topArrow.png" style="border:none;display:none;position:fixed;right:10px;top:10px;width:50px;" /></a>	 
<a href="#bottom"><img id="bottomArrow" src="img/bottomArrow.png" style="border:none;display:none;position:fixed;right:10px;bottom:10px;width:50px;" /></a>	 
<div class="cuerpoContainer" id="cuerpoContainer">
    <?php
		include_once("frontend/carrousel.php");
	?>
<link rel="stylesheet" href="lib/jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.css" />
<script type="text/javascript" src="lib/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.js"></script>
<script src="lib/touch-punch-master/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="functions/js/acordeon.js"></script>
<script type="text/javascript" src="functions/js/sortable.js"></script>

    <div class="cuerpo">
        <div class="rightContainer">
            <?php
                require 'vendor/autoload.php';
                $searcher = ApplicationContext::getServices('searcher');
                
                $keyword = $_GET["keyword"];
                //echo "<title>Titulares que contienen la palabra $keyword en el titulo</title>";
                
                $news = $searcher->search($keyword, $_GET['ordenamiento']);   
                echo "<div class='sourceInfo'>";
                    echo "<div class='searchInfo'>"; 	   
                    echo "<a class='search'> Resultados para:&nbsp; ". $keyword . "</a>";
                    echo "</div>";
                echo "</div>";
                $printer = ApplicationContext::getServices('printer');
                $printer->printNewsFromSearch($news, $keyword);
            ?>
       </div>
            <div class="leftContainer">
               <?php 
			      include_once('frontend/dengoWords.php');
			   ?> 
               <div class="adsenseContainer" id="adsenseContainer">
                    <script type="text/javascript"><!--
                    google_ad_client = "ca-pub-5938105089879889";
                    /* index_lateral_banner */
                    google_ad_slot = "9321916058";
                    google_ad_width = 120;
                    google_ad_height = 240;
                    //-->
                    </script>
                    <script type="text/javascript"
                    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                    </script>
               </div>
               <script>showAdsense()</script>
   		</div>
             <div style="display: block; clear: both;"></div>
       </div>
    <br />
</div>